Sweeping of membranes